package com.cnap.multiclouldmgmt.model.k8sModels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 用来配合其他model
 * @author dyq
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.k8sModels.KeyValueModel",description = "用作选择器的keyValue信息")
public class KeyValueModel {

    //key
    @ApiModelProperty(value = "key")
    private String key;

    //value
    @ApiModelProperty(value = "value")
    private String value;

    //构造器
    public KeyValueModel(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public KeyValueModel() {
    }

    /**
     * get
     *
     * @return Key
     */
    public String getKey() {
        return key;
    }

    /**
     * set
     *
     * @param key key
     */
    public void setKey(String key) {
        this.key = key;
    }

    /**
     * get
     *
     * @return Value
     */
    public String getValue() {
        return value;
    }

    /**
     * set
     *
     * @param value value
     */
    public void setValue(String value) {
        this.value = value;
    }
}
